package com.example.bookstore.service;

import com.example.bookstore.pojo.User;

import java.sql.SQLException;

public interface UserService {
    public void registerUser(User user) throws SQLException;

    public User login(User user) throws SQLException;

    public boolean existUsername(String username) throws SQLException;

}
